Skip to main content
POST
/
action
/
outreach_drafter_draft_outreach
[OD1] Draft Outreach
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/outreach_drafter_draft_outreach \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prospect_name": "<string>",
  "company_website": "<string>",
  "seller_product": "<string>",
  "output_variable_name": "outreach_package",
  "channel": "both",
  "tone": "professional",
  "goal": "book a meeting",
  "additional_context": "<string>",
  "seller_icp": "<string>",
  "seller_website": "<string>",
  "pain_points": "<string>",
  "proof_points": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
prospect_name
string
required
company_website
string
required
seller_product
string
required
output_variable_name
string
default:outreach_package
required
Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
channel
string
default:both
tone
string
default:professional
goal
string
default:book a meeting
additional_context
string
seller_icp
string
seller_website
string
pain_points
string
proof_points
string

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action